package com.erbao;

import java.util.concurrent.TimeUnit;

/**
 * @author CaoBaoYin
 * @since 2022/2/26 17:43
 */
public class SleepUtil {

    public static void sleep(long millis) {
        try {
            TimeUnit.MILLISECONDS.sleep(millis);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
